package com.bean;

import java.sql.Blob;
import java.sql.Timestamp;

public class Pdfinfo {
	
	

	private String tid;
	
	private String documentId;
	
	

	private String orderArea;
	
	private String sender;
	
	
	private String accepter;

	private Blob docBody;
	
	
	private String documentName;
	
	
	private String isSign;
	
	
	private String mailStatus;
	
	private String pageNo;
	
	private String position;
	
	private String positionMode;
	
	private String signIndex;
	
	
	private Timestamp createTime;
	
	
	private Timestamp acceptTime;
	
	
	private Timestamp signTime;
	
	private Timestamp sendTime;

	private Timestamp updateTime;
	
	private int errorTime;
	
	public int getErrorTime() {
		return errorTime;
	}

	public void setErrorTime(int errorTime) {
		this.errorTime = errorTime;
	}

	public String getDocumentId() {
		return documentId;
	}

	

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getOrderArea() {
		return orderArea;
	}

	public void setOrderArea(String orderArea) {
		this.orderArea = orderArea;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getAccepter() {
		return accepter;
	}

	public Blob getDocBody() {
		return docBody;
	}

	public void setDocBody(Blob docBody) {
		this.docBody = docBody;
	}

	public void setAccepter(String accepter) {
		this.accepter = accepter;
	}


	public String getDocumentName() {
		return documentName;
	}

	public void setDocumentName(String documentName) {
		this.documentName = documentName;
	}

	public String getIsSign() {
		return isSign;
	}

	public void setIsSign(String isSign) {
		this.isSign = isSign;
	}

	public String getMailStatus() {
		return mailStatus;
	}

	public void setMailStatus(String mailStatus) {
		this.mailStatus = mailStatus;
	}

	public String getPageNo() {
		return pageNo;
	}

	public void setPageNo(String pageNo) {
		this.pageNo = pageNo;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getPositionMode() {
		return positionMode;
	}

	public void setPositionMode(String positionMode) {
		this.positionMode = positionMode;
	}

	public String getSignIndex() {
		return signIndex;
	}

	public void setSignIndex(String signIndex) {
		this.signIndex = signIndex;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(Timestamp acceptTime) {
		this.acceptTime = acceptTime;
	}

	public Timestamp getSignTime() {
		return signTime;
	}

	public void setSignTime(Timestamp signTime) {
		this.signTime = signTime;
	}

	public Timestamp getSendTime() {
		return sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public void setDocumentId(String documentId) {
		this.documentId = documentId;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((tid == null) ? 0 : tid.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Pdfinfo other = (Pdfinfo) obj;
		if (tid == null) {
			if (other.tid != null)
				return false;
		} else if (!tid.equals(other.tid))
			return false;
		return true;
	}
	
	@Override
	public String toString() {
		return "Pdfinfo [tid=" + tid + ", documentId=" + documentId
				+ ", documentName=" + documentName + "]";
	}
	
	
}
